/*
 * Copyright (c) 2011. This file is public under GPLv3 license.
 * For more information about license please refer to http://www.gnu.org/licenses/gpl.html
 */

package com.freetools.watchdog.model;

/**
 * Description to be do.
 *
 * @author Michael Morozov
 */
public class Column implements IColumn
{
    private String name;
    private String type;
    private boolean hasIndex;

    public Column(String name, String type, String format, boolean hasIndex)
    {
        this.name = name;
        this.type = type;
        this.format = format;
        this.hasIndex = hasIndex;
    }

    public String getName()
    {
        return name;
    }

    public String getType()
    {
        return type;
    }

    public String getFormat()
    {
        return format;
    }

    public boolean hasIndex()
    {
        return this.hasIndex;
    }

    private String format;
}
